<?php
class BaseUser extends Base
{
	public function __construct()	{
		parent::__construct();
	}
	/**
	 * 获取类信息
	 * @param string $classid
	 * @param unknown $template
	 * @return Ambigous
	 */
	public function column($template='',$classid=""){
		if (empty($classid)){
			$column = $this->sql()->onedata($this->table()->name('column'),'*',"where template='".$template."'");
		}
		else{
			$column = $this->sql()->onedata($this->table()->name('column'),'*',"where id=".$classid);
		}
		return $column;
	}
	public function returnAddress(){
		$_SESSION['address']= $_GET['control'].".html?".$this->toos()->combinationGet();

	}
}
?>